body{
  margin: 0;
}

.login-header{

  .header{
    width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
    text-align: left;
  }
}

.login-body{
  width: 100%;
  background-position: center;
  height: 600px;
  position: relative;
  &-wrapper{
    width: 1200px;
    margin: 0 auto;
    position: relative;
  }
}

.login {
  width: 400px;
  height: 380px;
  margin: 0 auto;
  padding: 20px;
  position: absolute;
  top: 87px;
  right: 20px;
  background: rgba(255,255,255,.9);
  &-title{
    font-size: 20px;
    color: #333;
    margin: 0 0 20px 0;
    text-align: left;
  }
  .layui-form-item{
    text-align: center;
  }
  &-input{
    width: 100%;
    height: 44px;
    border: 1px solid #ccc;
    transition: all 0.3s;
    .input-icon{
      float: left;
      height: 42px;
      width: 44px;
      background: #e2e2e4;
      line-height: 42px;
      text-align: center;
      i{
        font-size: 28px;
        color: #fff;
      }
    }
    .input-box{
      float: left;
      width: 358px - 44px;
      height: 42px;
      background: #fff;
      input{
        width: 100%;
        height: 100%;
        position: relative;
        border: none;
        font-size: 14px;
        text-indent: 15px;
      }
    }
    &_active{
      border: 1px solid #999;
      box-shadow: 0 0 10px #ccc;
    }
  }
  &-radio{
    width: 100%;
    padding: 30px 0;
    text-align: left;
    &:checked+label{
      label{
        color: #575dff;
      }
    }

    label{
      font-size: 14px;
      color: #999;
      position: relative;
      top: -2px;
      padding:  0 5px;
    }
  }
  &-submit-btn{
    width: 100%;
    height: 40px;
    font-size: 18px;
  }
}

.but {
  margin-top: 20px;
  padding-left: 208px;
}

.but input {
  width: 30%;
  font-size: 18px;
}

.layui-input {
  width: 45%;
}

.error {
  display: inline-block;
  color: red;
  padding-left: 5px;
}

.login-footer{
  background: #fff;
  width: 100%;
  .footer{
    width: 1200px;
    margin: 0 auto;
    padding: 25px 0;
    text-align: left;
    color: #474747;
    letter-spacing: 1px;
  }
}

.layui-form input[type=checkbox], .layui-form input[type=radio], .layui-form select {
  display: inline-block;
}

.label {
  vertical-align: middle;
  margin-top: 10px;
  display: inline-block;
  position: relative;
}

#office-error {
  position: absolute;
  left: 295px;
  width: 200px;
  display: inline-block;
}

.fadeOut-enter,.fadeOut-enter-active{
  animation: fadeIn 0.3s;
}

.fadeOut-leave.fadeOut-leave-active {
  animation: fadeOut 0.3s;
}
